#include "ws2812_spi_conf.h"
#include "spi.h"

#define WS2812_SPI_HANDLE hspi1

uint8_t ws2812_buffer[WS2812_BUFFER_SIZE] = {0};

void ws2812_send_buffer(void) {
    HAL_SPI_Transmit(&WS2812_SPI_HANDLE, ws2812_buffer, WS2812_BUFFER_SIZE, HAL_MAX_DELAY);
}